* {
    margin: 0;
    padding: 0;
}

.box {
    position: relative;
    width: 320px;
    margin: 50px auto 10px;
}

#bg {
    position: relative;
    width: 320px;
    height: 568px;
    background-image: url(image/background_1.png);
    overflow: hidden;
}

.injured {
    position: absolute;
    width: 320px;
    height: 568px;
    top: 0;
    left: 0;
    background-color: rgba(200, 0, 0, .1);
    visibility: hidden;
    pointer-events: none;
}

.box .score {
    position: absolute;
    top: 0;
    left: 10px;
}

.box .life {
    position: absolute;
    top: 0;
    right: 10px;
}

.box span {
    font-size: 20px;
}

.box .restart {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    background-color: rgba(0, 0, 0, .3);
    display: none;
}

.box .restart p {
    text-align: center;
    margin: 10px;
}

.box .restart button {
    display: block;
    width: 80px;
    height: 30px;
    margin: 0 auto 10px;
    border: none;
    outline: none;
    background-color: #fff;
    cursor: pointer;
}

.box .restart button:hover {
    background-color: #eeeeee;
}

.pause {
    width: 320px;
    height: 40px;
    line-height: 40px;
    background-color: skyblue;
    color: white;
    text-align: center;
    font-size: 22px;
    margin: 0 auto;
}